package pl.edu.pb.wi.cookbook.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class MainController {

    @RequestMapping({ "/", "/main" })
    public String standardDeviation(Model model) {
        return "main";
    }

    @RequestMapping("/error")
    public String error() {
        return "error";
    }

}
